package com.onstar.cn.smart.entity;

import java.util.List;

/**
 * Created by Longmin Li on 2017/7/4.
 */

public class PayChannelResponseEntity {

    /**
     * channels : [{"id":6,"channel":"test","description":"测试","isDefault":"1","isAvailable":"1"},{"id":2,"channel":"alipay","description":"阿里支付","isDefault":"1","isAvailable":"1"}]
     * pageable : {"pageNumber":1,"pageSize":10,"offset":0,"totalSize":2}
     */

    private PageableBean pageable;
    private List<ChannelsBean> channels;

    public PageableBean getPageable() {
        return pageable;
    }

    public void setPageable(PageableBean pageable) {
        this.pageable = pageable;
    }

    public List<ChannelsBean> getChannels() {
        return channels;
    }

    public void setChannels(List<ChannelsBean> channels) {
        this.channels = channels;
    }

    public static class PageableBean {
        /**
         * pageNumber : 1
         * pageSize : 10
         * offset : 0
         * totalSize : 2
         */

        private int pageNumber;
        private int pageSize;
        private int offset;
        private int totalSize;

        public int getPageNumber() {
            return pageNumber;
        }

        public void setPageNumber(int pageNumber) {
            this.pageNumber = pageNumber;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getOffset() {
            return offset;
        }

        public void setOffset(int offset) {
            this.offset = offset;
        }

        public int getTotalSize() {
            return totalSize;
        }

        public void setTotalSize(int totalSize) {
            this.totalSize = totalSize;
        }
    }

    public static class ChannelsBean {
        /**
         * id : 6
         * channel : test
         * description : 测试
         * isDefault : 1
         * isAvailable : 1
         */

        private int id;
        private String channel;
        private String description;
        private String isDefault;
        private String isAvailable;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getIsDefault() {
            return isDefault;
        }

        public void setIsDefault(String isDefault) {
            this.isDefault = isDefault;
        }

        public String getIsAvailable() {
            return isAvailable;
        }

        public void setIsAvailable(String isAvailable) {
            this.isAvailable = isAvailable;
        }
    }
}
